How to Install command-not-found software package in Ubuntu 12.04 LTS (Precise Pangolin)

How to Install command-not-found software package in Ubuntu 12.04 LTS (Precise Pangolin)

command-not-found software package provides Suggest installation of packages in interactive bash sessions, you can install in your Ubuntu 12.04 LTS (Precise Pangolin) by running the commands given below on the terminal,

$ sudo apt-get update
$ sudo apt-get install command-not-found 

command-not-found is installed in your system.

Make ensure the command-not-found package were installed using the commands given below,

$ sudo dpkg-query -l | grep command-not-found *

You will get with command-not-found package name, version, architecture and description in a table

command-not-found package basic information:

Distro Ubuntu 12 04 lts precise pangolin
Section Administration Utilities
Package command-not-found
Version 0.2.46ubuntu6
Description Suggest installation of packages in interactive bash sessions
Sub Section Admin


See Also, How to uninstall or remove command-not-found software package from Ubuntu 12.04 LTS (Precise Pangolin)?